package com.pinda.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
 * <p>
 * 线路表
 * </p>
 *
 * @author 
 * @since 2022-05-05
 */
@TableName("pd_transport_line")
public class TransportLine implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 线路名称
     */
    private String name;

    /**
     * 线路编号
     */
    private String lineNumber;

    /**
     * 所属机构
     */
    private String agencyId;

    /**
     * 线路类型
     */
    private String transportLineTypeId;

    /**
     * 起始地机构id
     */
    private String startAgencyId;

    /**
     * 目的地机构id
     */
    private String endAgencyId;

    /**
     * 距离
     */
    private BigDecimal distance;

    /**
     * 成本
     */
    private BigDecimal cost;

    /**
     * 预计时间（分钟）
     */
    private BigDecimal estimatedTime;

    /**
     * 状态 0：禁用 1：正常
     */
    private Integer status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLineNumber() {
        return lineNumber;
    }

    public void setLineNumber(String lineNumber) {
        this.lineNumber = lineNumber;
    }

    public String getAgencyId() {
        return agencyId;
    }

    public void setAgencyId(String agencyId) {
        this.agencyId = agencyId;
    }

    public String getTransportLineTypeId() {
        return transportLineTypeId;
    }

    public void setTransportLineTypeId(String transportLineTypeId) {
        this.transportLineTypeId = transportLineTypeId;
    }

    public String getStartAgencyId() {
        return startAgencyId;
    }

    public void setStartAgencyId(String startAgencyId) {
        this.startAgencyId = startAgencyId;
    }

    public String getEndAgencyId() {
        return endAgencyId;
    }

    public void setEndAgencyId(String endAgencyId) {
        this.endAgencyId = endAgencyId;
    }

    public BigDecimal getDistance() {
        return distance;
    }

    public void setDistance(BigDecimal distance) {
        this.distance = distance;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public BigDecimal getEstimatedTime() {
        return estimatedTime;
    }

    public void setEstimatedTime(BigDecimal estimatedTime) {
        this.estimatedTime = estimatedTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "TransportLine{" +
        ", id=" + id +
        ", name=" + name +
        ", lineNumber=" + lineNumber +
        ", agencyId=" + agencyId +
        ", transportLineTypeId=" + transportLineTypeId +
        ", startAgencyId=" + startAgencyId +
        ", endAgencyId=" + endAgencyId +
        ", distance=" + distance +
        ", cost=" + cost +
        ", estimatedTime=" + estimatedTime +
        ", status=" + status +
        "}";
    }
}
